package cc.magicjson.example.demo.web.respository;

import cc.magicjson.example.demo.domain.UserInfo;
import org.springframework.stereotype.Repository;

/**
 * {@link }
 *
 * @author <a href="mailto:it_magicjson@163.com">MagicJson</a>
 * @since 1.0.0
 */
@Repository
public class UserRepository {

	public UserInfo getUserInfo(String token){
		return new UserInfo()
				.setId(1)
				.setName("token")
				.setAge(22)
				.setEmail("xxxx@qq.com")
				.setAddress("HangZhou")
				.setToken(token);
	}
}
